package com.agent.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.agent.repository.RepaireExceptionMapper;
import com.agent.entity.RepaireException;
import com.agent.service.RepaireExceptionService;

@Service("RepaireExceptionService")
public class RepaireExceptionServiceImpl implements RepaireExceptionService{
	
	@Autowired
	private RepaireExceptionMapper RepaireExceptionMapper;

	public void delete(String id) {
		RepaireExceptionMapper.delete(id);		
	}

	public List<RepaireException> getRepaireException(String id) {
		return RepaireExceptionMapper.getRepaireException(id);
	}

	public void insert(RepaireException RepaireException) {
		 RepaireExceptionMapper.insert(RepaireException);
	}

	public List<RepaireException> searchAll() {
		return RepaireExceptionMapper.searchAll();
	}

	public List<RepaireException> searchRepaireException(Map searchMap) {
		return RepaireExceptionMapper.searchRepaireException(searchMap);
	}

	public void update(RepaireException RepaireException) {
		RepaireExceptionMapper.update(RepaireException);
	}

	public RepaireExceptionMapper getRepaireExceptionMapper() {
		return RepaireExceptionMapper;
	}

	public void setRepaireExceptionMapper(RepaireExceptionMapper RepaireExceptionMapper) {
		this.RepaireExceptionMapper = RepaireExceptionMapper;
	}
	
	
	

}
